Feature: Updated LPE Packager with Auto-version update publish support + misc. improvements#313
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the packaging tooling by introducing separate publish scripts that increment the extension version and standardizing version handling across build components.
- Adds new publish scripts for building and publishing components.
- Centralizes version information by reading from a single manifest file and updates component naming.
- Refactors core and extension packaging scripts to support the new auto-versioning workflow.
Reviewed Changes
Copilot reviewed 5 out of 12 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/tools/packager/Publish.py | Introduces a new publish script with manifest-based version update. |
| src/tools/packager/Package-Core.py | Refactors core packaging to accept the new version parameter and uses updated logging and timestamp generation. |
| src/tools/packager/Package-All.py | Updates extension packaging with new file names and version handling adjustments. |
| src/core/src/bootstrap/Bootstrapper.py | Updates log output to reflect the new build timestamp for version display. |
Files not reviewed (7)
- Makefile: Language not supported
- src/build.bat: Language not supported
- src/build.sh: Language not supported
- src/extension/src/AzGPSLinuxPatchExtShim.sh: Language not supported
- src/extension/src/HandlerManifest.json: Language not supported
- src/publish.bat: Language not supported
- src/publish.sh: Language not supported
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #313 +/- ##
=======================================
Coverage 94.04% 94.04%
=======================================
Files 109 109
Lines 19967 19967
=======================================
Hits 18778 18778
Misses 1189 1189
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
rane-rajasi
requested changes
Jun 20, 2026
yashnap
reviewed
Jun 26, 2026
michellemcdaniel
approved these changes
Jun 29, 2026
yashnap
approved these changes
Jun 29, 2026
rane-rajasi
approved these changes
Jun 29, 2026
kjohn-msft
pushed a commit
that referenced
this pull request
Jun 30, 2026
This release contains: - Fix: [UT fix] Fixing DNF5/AzL4 UTs failing in Py2.7 [354](#354) - Feature: [Ubuntu, no-CVM] Use default repo for UEFI and kek certificate updates [351](#351) - Engg. Hygiene: Introduce Extension Status Asserter and use in example Test class [352](#352) - Feature: Updated LPE Packager with Auto-version update publish support + misc. improvements [313](#313)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Packager updates pulled out to code base debt erasure (and revised a little further):
#224
Changes in this PR:
Example of Publish output now (a super-set of build / package) --
